package com.rm.zeyou.mapper;

import com.rm.zeyou.entity.UserAddress;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户地址表 Mapper 接口
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 15:55:09
 */
@Mapper
public interface UserAddressMapper extends BaseMapper<UserAddress> {

    @Delete("delete from t_user_address where id = #{id}")
    Integer deleteAddress(@Param("id") Integer id);

}
